package msg

import (
	"Alpaca/network/json"
)

var Processor = json.New()

type Hello struct {
	Name string
	Uid  int
}

type LoginMsg struct {
	Account  string
	Password string
}

type UidMsg struct {
	Uid int
}

func init() {
	Processor.Register(&Hello{})
	Processor.Register(&LoginMsg{})
	Processor.Register(&UidMsg{})
}
